home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm1
/
e-sbox10.lha
/
SuggBox
< prev
next >
Wrap
Text File
|
1995-08-28
|
4KB
|
170 lines
/* __
(_ \/ Written By Greg Fitch Of XyonicS BBS
____)uggestion Bo/\___
This program will allow users to give you suggestions on the BBS, or what-
ever other use you put it to.
It saves them to "BBS:Text/Logs/Suggestion.log" and then SuggBox.M reads
them. :To Use: Put both SuggBox and SuggBox.M in your
Doors: directory. Then, modify your EX.BBSMENU as follows:
Add at the end of your, (Global Commands)
584, SUG, 0, "1-32", "\#1Doors:SuggBox\"
and
585, SUL, 1, "32", "\#1Doors:SuggBox.M\"
For the reader. When someone makes a suggestion, you can use SUL to
read/delete them. Thats all there is too it.. nifty, huh?? Heheheh....
This file is free to distribute to LEGAL E! AMIGA SYSOPS ONLY and to be
distributed with this text intact... you may delete all this for the copy
you are using on the BBS to save room, but if you spread this around, make
sure this is in it.. Thats all I ask! If you like it, find it useful, or
whatever, LET ME KNOW! Write a letter.. call my BBS.. Let me know
you are out there!
XyonicS BBS
+61-7-38084806
Enough Comments, Already.. --Greg */
options results
path="BBS:Text/Logs/Suggestion.log"
sendstring '\c1: \c3Do You Wish To Make A Suggestion? (y/N) \c1: \c6'
getchar
yesno = upper(result)
if yesno ~= 'Y' then do
sendstring 'No'
exit
end
transmit 'Yes'
bufferflush
getuser 28
urk=result
if urk = 0 then call ask:
sendstring '\^2'
ASK:
transmit '\n1\c1: \c5Enter Up To \c710\c5 Lines. Press \c1RETURN\c5 On A Blank'
transmit '\c1: \c5Line To Save (\c3Incase You Do Not Fill Up All 10 Lines\c5)\n1'
GETUSER 1;Uname=result;GETUSER 12;Date=result
logentry'Suggestion By 'uname
query "\c1: \c3"
text1 = result
if text1 = "" then CALL DONE
query "\c1: \c3"
text2 = result
if text2 = "" then CALL DONE
query "\c1: \c3"
text3 = result
if text3 = "" then CALL DONE
query "\c1: \c3"
text4 = result
if text4 = "" then CALL DONE
query "\c1: \c3"
text5 = result
if text5 = "" then CALL DONE
query "\c1: \c3"
text6 = result
if text6 = "" then CALL DONE
query "\c1: \c3"
text7 = result
if text7 = "" then CALL DONE
query "\c1: \c3"
text8 = result
if text8 = "" then CALL DONE
query "\c1: \c3"
text9 = result
if text9 = "" then CALL DONE
query "\c1: \c3"
text10 = result
if text10 = "" then CALL DONE
DONE: /* Save Their Suggestion */
header="\c5Suggestion By:\cd "uname"\c5 On \cd"date"\c1...\n1\c3"
if ~exists(path) then CALL YEPIT
else CALL NOPEIT
YEPIT:
open(sfile,path,'W')
writeln(sfile, header)
if text1 = "" then CALL THEEND
writeln(sfile, text1)
if text2 = "" then CALL THEEND
writeln(sfile, text2)
if text3 = "" then CALL THEEND
writeln(sfile, text3)
if text4 = "" then CALL THEEND
writeln(sfile, text4)
if text5 = "" then CALL THEEND
writeln(sfile, text5)
if text6 = "" then CALL THEEND
writeln(sfile, text6)
if text7 = "" then CALL THEEND
writeln(sfile, text7)
if text8 = "" then CALL THEEND
writeln(sfile, text8)
if text9 = "" then CALL THEEND
writeln(sfile, text9)
if text10 = "" then CALL THEEND
writeln(sfile, text10)
CALL THEEND
NOPEIT:
open(sfile,path,'A')
writeln(sfile, header)
if text1 = "" then CALL THEEND
writeln(sfile, text1)
if text2 = "" then CALL THEEND
writeln(sfile, text2)
if text3 = "" then CALL THEEND
writeln(sfile, text3)
if text4 = "" then CALL THEEND
writeln(sfile, text4)
if text5 = "" then CALL THEEND
writeln(sfile, text5)
if text6 = "" then CALL THEEND
writeln(sfile, text6)
if text7 = "" then CALL THEEND
writeln(sfile, text7)
if text8 = "" then CALL THEEND
writeln(sfile, text8)
if text9 = "" then CALL THEEND
writeln(sfile, text9)
if text10 = "" then CALL THEEND
writeln(sfile, text10)
CALL THEEND
THEEND:
footer="\c1\n1Key->\g0\h5"
writeln(sfile, footer)
close(sfile)
CALL THATSIT
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
THATSIT:
transmit "\n1\c1: \c2Thankyou For Your Suggestion! \c3The Sysops Will Get Back"
sendstring "\c1: \c3To You In The Next Couple Of Days."
exit